package cn.zhibang.yygh.cmn.service;

import cn.zhibang.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DictService extends IService<Dict> {
    List<Dict> findChlidData(Long id);
    void exportData(HttpServletResponse response);
    void importData(MultipartFile file);
    String getNameByParentDictCodeAndValue(String parentDictCode,String value);
    List<Dict> findByDictCode(String dictCode);
}
